check state instead of power state on change offering for ROOT volume#13271
check state instead of power state on change offering for ROOT volume#13271DaanHoogland wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Updates ROOT volume resize/offering-change validation for VMware to use the VM state (e.g., Stopped) instead of the VM power_state (e.g., PowerOff), addressing cases where VMware power state lags and incorrectly blocks disk offering changes.
Changes:
- Switch VMware ROOT-volume validation from
userVm.getPowerState()touserVm.getState()inresizeVolumeInternal. - Apply the same state-based validation in
validateVolumeReadyStateAndHypervisorChecks. - Update corresponding log/error messages to reference
Stoppedstate.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.22 #13271 +/- ##
=========================================
Coverage 17.67% 17.68%
- Complexity 15792 15797 +5
=========================================
Files 5922 5922
Lines 533165 533169 +4
Branches 65208 65212 +4
=========================================
+ Hits 94242 94291 +49
+ Misses 428276 428219 -57
- Partials 10647 10659 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 18274 |
|
@blueorangutan test ol9 vmware-80u3 |
|
@weizhouapache a [SL] Trillian-Jenkins test job (ol9 mgmt + vmware-80u3) has been kicked to run smoke tests |
|
[SF] Trillian Build Failed (tid-16328) |
|
@blueorangutan test ol9 vmware-80u3 |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol9 mgmt + vmware-80u3) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-16356)
|
|
[SF] Trillian test result (tid-16370)
|
|
[SF] Trillian Build Failed (tid-16379) |
|
[SF] Trillian Build Failed (tid-16381) |
|
[SF] Trillian test result (tid-16386)
|
seems the only consistent error. checking latest main... |
Description
This PR...
Fixes: #13261
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?